<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<html>
<head>
<title>图书信息管理</title>
<%@include file="/common/ec.jsp" %>
<%@include file="/common/extjs.jsp" %>
<%@include file="/common/meta.jsp" %>
</head>
<body>
<div><%@ include file="/common/messages.jsp"%></div>
<div class="x-panel">
<div class="x-panel-header">图书管理</div>
<div class="x-panel-body">
<div style="margin-left: -3px;" align="center">
<ec:table
	items="books" var="item" retrieveRowsCallback="process" sortRowsCallback="process"
	action="badImg.do" 
	useAjax="false"
	doPreload="false" 
	pageSizeList="200, all" 
	editable="false"
	sortable="false" 
	rowsDisplayed="200" 
	generateScript="true"
	resizeColWidth="false" 
	classic="false" 
	width="100%" 
	height="510px"
	minHeight="510"
	toolbarContent="navigation|pagejump|pagesize|refresh|extend|status">
	<ec:row>
		<ec:column width="40" property="_no" value="${GLOBALROWCOUNT}" title="序号" style="text-align:center"/>
		<ec:column width="230" property="name" title="图书名称" >
			<a href="view.do?model.id=${item.id}" target="_blank" title="查看图书信息"><font color="blue">${item.name}</font></a>
		</ec:column>
		<ec:column width="100" property="bkType" title="类型" mappingItem="bookTypeMap"/>
		<ec:column width="80" property="grade" title="年级" mappingItem="gradeNameMap"/>
		<ec:column width="95" property="subject.name" title="学科类别"/>
		<ec:column width="140" property="_0" title="操作" style="text-align:center" sortable="false">
			<a href="edit.do?model.id=${item.id}">编辑</a> |
			<a href="view.do?model.id=${item.id}" target="_blank">查看</a>
		</ec:column>
	</ec:row>
</ec:table></div>
</div>
</div>
</body>
</html>